﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MaterialDemo.MVC.Filters;
using Microsoft.AspNetCore.Mvc;

namespace MaterialDemo.MVC.Controllers
{
    [MySession]
    public class StatisticsController : Controller
    {
        /// <summary>
        /// 简单数据统计页面
        /// </summary>
        /// <returns></returns>
        public IActionResult Index()
        {
            //获取总访问人数
            ViewBag.allCount = 5;
            //获取今日访问人数
            ViewBag.todayCount =6;
            //获取预定成功数
            ViewBag.signCount = 7;
            //获取用户男女数
         
            ViewBag.girlCount =8;
            ViewBag.boyCOunt = 7;
            return View();
        }
    }
}